package com.example.javagd.scheduling;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**
 * @program: oceanengine
 * @description:
 * @author: hzy
 * @create: 2021-03-11 11:14
 **/
@Component
public class MyScheduling {

    @Scheduled(cron = "0 0 0/1 * * ?")
    //@Scheduled(cron = "*/5 * * * * ?")
    public void execute() {

    }
}
